<div class="row_label">
  [?php foreach($row_widgets as $widget) : ?]
    [?php if ($widget['field']->isPartial()): ?]
      [?php include_partial('<?php echo $this->getModuleName() ?>/'.$widget['name'], array('form' => $widget['form'], 'attributes' => $widget['attributes'] instanceof sfOutputEscaper ? $widget['attributes']->getRawValue() : $widget['attributes'])) ?]
    [?php elseif ($widget['field']->isComponent()): ?]
      [?php include_component('<?php echo $this->getModuleName() ?>', $widget['name'], array('form' => $widget['form'], 'attributes' => $widget['attributes'] instanceof sfOutputEscaper ? $widget['attributes']->getRawValue() : $widget['attributes'])) ?]
    [?php else: ?]
    <div class="label">
      [?php echo $widget['form'][$widget['name']]->renderLabel();?]
    [?php endif; ?]
    </div>
  [?php endforeach; ?]
  [?php if($count == 1) : ?]
    <div class="label"></div>
    <div class="label"></div>
    <div class="label"></div>
  [?php elseif ($count == 2) : ?]
    <div class="label"></div>
    <div class="label"></div>
  [?php elseif ($count == 3) : ?]
    <div class="label"></div>
  [?php endif; ?]
</div>
